using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WindowsLive.Writer.Api;

namespace ClipboardLivePlugin
{
    public partial class HtmlOptionForm : Form
    {
        public HtmlOptionForm()
        {
            InitializeComponent();

            // If this form is being loaded then they are choosing the option. Start with default.
            htmlRadio1.Checked = true;
        }

        public int RunHtmlOptionForm()
        {
            this.ShowDialog();
            if (htmlRadio1.Checked)
                return 1;
            else if (htmlRadio2.Checked)
                return 2;
            else if (htmlRadio3.Checked)
                return 3;
            else
                return -1;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }

    }
}